package com.github.edu.repair.manager.domain;

import com.github.admin.edu.orm.repository.CustomRepository;
import com.github.edu.repair.manager.entity.TBxWlfl;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

/**
 * 物料分类
 * Created by IntelliJ IDEA.
 * user:wangj
 * date:2018/8/20
 * Time: 21:47
 */
public interface WlflServerDomain extends CustomRepository<TBxWlfl,Integer> {

    @Query("select t from TBxWlfl t where t.sfqy = 1 ")
    List<TBxWlfl> getAllBySfqy();
}
